package com.dongge.action;

import com.dongge.service.EasyUIPage;

import java.util.HashMap;
import java.util.Map;

/**
 * 对于Easyui datagrid 分页功能会传递两个参数到Action
 * page要显示的页
 * rows每页显示的行数
 * 返回数据是记录总条数total
 * 和当前页面数据rows
 */
public class PageActionEasyUiAction<T> extends BaseAction<T> {
    private int page;
    private int rows;
    protected EasyUIPage easyUIPage;

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public EasyUIPage getEasyUIPage() {
        return easyUIPage;
    }

    public void setEasyUIPage(EasyUIPage easyUIPage) {
        this.easyUIPage = easyUIPage;
    }
}
